#ifndef __SCNS_GT911_C_H__
#define __SCNS_GT911_C_H__

#include "ScnsGt911.h"

#if defined(SCNS_GT911_ENABLE)&&SCNS_GT911_ENABLE==1

#include "ScnsBspGt911.c.h"

typedef struct
{
    uint8 swap;
    float xa,ya,xb,yb;
}ScnsBspGt911Config;

extern const ScnsBspGt911Config scnsBspGt911Config[SCNS_GT911_MAX];

extern ScnsStatus scnsBspGt911Init(ScnsGt911Enum gt9N);
extern ScnsStatus scnsBspGt911PostInit(ScnsGt911Enum gt9N);
extern ScnsStatus scnsBspGt911Write(ScnsGt911Enum gt9N,const uint8*addr,uint8 addrLen,const uint8*data,uint8 dataLen);
extern ScnsStatus scnsBspGt911Read(ScnsGt911Enum gt9N,const uint8*addr,uint8 addrLen,uint8*data,uint8 dataLen);
extern void scnsBspGt911SetReset(ScnsGt911Enum gt9N,uint8 dat);
extern void scnsBspGt911SetInt(ScnsGt911Enum gt9N,uint8 dat);
extern void scnsBspGt911SetIntDir(ScnsGt911Enum gt9N,uint8 in);
extern uint8 scnsBspGt911GetInt(ScnsGt911Enum gt9N);
/*******************************BSP.C.H*******************************



*/
/*******************************BSP.H*******************************
typedef enum
{
    SCNS_GT911_1,
    SCNS_GT911_MAX,
}ScnsGt911Enum;



*/



#endif
#endif
